﻿namespace Jet.Dal
{
	/// <summary>
	/// Determine state of the entity
	/// </summary>
	public enum EntityState
	{
		/// <summary>
		/// Entity is not tracked by repository
		/// </summary>
		Detached,

		/// <summary>
		/// Entity was added
		/// </summary>
		Added,

		/// <summary>
		/// Entity was deleted
		/// </summary>
		Deleted,

		/// <summary>
		/// Entity was modified
		/// </summary>
		Modified,

		/// <summary>
		/// Entity was unchanged
		/// </summary>
		Unchanged
	}
}
